<style>
.disabled {
	color: #333;
}
input{ caret-color: #fff}
.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
	color: #C8C8CD
}
.fui-cell-group .fui-cell .fui-cell-info {
	font-size: 0.85rem;
	color: #C8C8CD;
}
.fui-cell-group .fui-cell .fui-cell-icon i{
	color: #C8C8CD;
}
.fui-icon-group .fui-icon-col .cardfee{
	padding:0.2rem;
	margin:0.2rem;
	border-radius:0.2rem;
    background:#ddd;
}
.fui-icon-group .fui-icon-col.active .cardfee{
    background:#55bd47;
	color:#fff;
}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
			<div style="margin:0.5rem;">
					<div class="memlogo-area" style="background: #55bd47;">
						<div class="memlogo">
							<img ng-src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/gw-user.png'}}">
						</div>
						<div class="name">{{pagedata.member.nickname || '匿名'}}</div>
						<br>
						<div class="name">{{pagedata.member.mobile || '无手机号'}} <span class="label label-warning" style="" href="javascript:;">{{pagedata.level.title || '默认等级'}}</span></div>
						<div class="code">
							<div class="jylabel jylabel-info" href="javascript:;" ng-click="access_json('core/member.credit_log//type=2')" style="border: 1px solid #fff;color:#fff;">余额日志</div>
						</div>
						<div class="bot">
							<h5 href="javascript:;">现有的{{pagedata.typetitle || '金币'}}
								<a ng-if="pagedata.is_open==1" ng-click="pagedata.showzhuan=true" ><span style="color:#f60;line-height: 1">提现</span></a>
								<a ng-if="pagedata.open_upbaofee==1" class="label label-warning r-f" ng-click="pagedata.showbaofee=true" ><span style="line-height: 1">提现到保证金</span></a>
							</h5>
							<div class="jy-2">
							<h2 style="margin-top:0">{{pagedata.allmoney || '0.00'}} </h2>
							</div>
							<div class="jy-2" style="margin-top:0.3rem">
								<span  style="font-size:0.7rem;">待加速提现额度：{{pagedata.fzallmoney || '0.00'}}</span>
							</div>
						</div>
					</div>
					<div class="tips tips-yellow" style="margin-top:-0.8rem">
						<i class="fa fa-bullhorn"></i> [<red>温馨提示</red>]：{{pagedata.tips}}
					</div>
			</div>
			
			<div class="fixed-title" style="margin-top:1rem">
							 <span class="befirst spacing">
								 <span class="icon icon-fengexianzuo" style="font-size:2rem;color:#666"></span>
							 </span> 
							 <span class="title-text bold" style="color:#333;line-height:2rem">{{pagedata.typetitle || '金币'}}明细</span> 
							 <span class="spacing">
								 <span class="icon icon-fengexianyou" style="font-size:2rem;color:#666"></span>
							 </span>
			</div>
			<div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
				<i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
			</div>
			<div style="padding:0 0.5rem">
			<div class='fui-list-group container' ng-show="pagedata.list.length>0" >
				<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
					<div class="fui-list-media">
						<img ng-if="item.member.avatar" ng-src="{{tomedia(item.member.avatar)}}" class="round" style="width:2rem;height:2rem">
						<i ng-if="!item.member.avatar" class="icon icon-my2"></i>
					</div>
					<div class="fui-list-inner">
						<div class='title'>
							<span ng-show="item.is_add==1" class="label label-success">{{item.is_addtitle}}</span>
							<span ng-show="item.is_add!=1" class="label label-danger">{{item.is_addtitle}}</span>
							<span class="red" style="margin-left:0.3rem">{{pagedata.typetitle}}：{{item.fee}}</span>
							<span class="gray" style="font-size:0.6rem;"> 个</span>
						</div>
						<div class='gray'>{{item.createtime}}</div>
					</div>
					<div class='fui-list-angle'>
						<span class='fui-label fui-label-default gray' style="background:#f2f2f2;border-radius:0.2rem;">{{item.remark}}</span>
					</div>
				</div>
			</div>
			</div>
	</div>
</div>
<div ng-if="pagedata.showzhuan" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:#fc6d60">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showzhuan=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 2rem;padding-top:0.5rem;background:#fc6d60">
				<div class='fui-cell-title c' style="color:#fff">您正在“提取{{pagedata.typetitle}}到待释放”的操作
				</div>
				<div class="fui-cell">
					<div class="fui-cell-icon"><i class="icon icon-jifen"></i></div>
					<div class="fui-cell-info">{{pagedata.typetitle || '金币'}}提现</div>
					<div class="fui-cell-remark"></div>
				</div>
				<div class="fui-icon-group col-3 selecter" style="padding:0.2rem">
					<div ng-repeat="fee in pagedata.tixianfees" ng-class="{'fui-icon-col':1, 'active':pagedata.tifee==fee}" href="javascript:;" ng-click="pagedata.tifee=fee">
							<div class="cardfee">
							<div class="badge" style="top:-4px;left:70%">可提</div>
							<div class="c bold">{{fee}}元</div>
							</div>
					</div>
					<div ng-if="pagedata.tixianfees.length<1">
						  <div class="fui-icon-col disabled">
								<div class="cardfee">
								<div class="c bold">{{pagedata.man_fee}}元</div>
								</div>
						  </div>
						  <div class="fui-icon-col disabled">
								<div class="cardfee">
								<div class="c bold">{{pagedata.man_fee*2}}元</div>
								</div>
						  </div>
						  <div class="fui-icon-col disabled">
								<div class="cardfee">
								<div class="c bold">{{pagedata.man_fee*3}}元</div>
								</div>
						  </div>
						  <div class="c">暂时没有可提现的额度~</div>
					  </div>
				</div>
			</div>
			<div class="weui_btn_area" style="margin:2rem;">
				<a class='weui_btn weui_btn_primary' style="border-radius:1rem;background-color:#fff;color:#fc6d60" ng-click="post({'fee':pagedata.tifee},'jy_newping/xunibi/post/')">确认提现</a>
			</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showbaofee" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:#fc6d60">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showbaofee=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 2rem;padding-top:0.5rem;background:#fc6d60">
				<div class='fui-cell-title c' style="color:#fff">您正在“{{pagedata.typetitle}}提现到保证金”的操作
				</div>
				<div class="fui-cell">
					<div class="fui-cell-info"><input type="text" class="fui-input" placeholder="输入提现额度" ng-model="pagedata.tifee"/></div>
					<div class="fui-cell-remark noremark"></div>
				</div>
				<div class="fui-icon-group" style="padding:0.2rem">
					<div ng-if="pagedata.tixianfees.length<1">
						  <div class="c">暂时没有可提现的额度~</div>
					  </div>
				</div>
			</div>
			<div class="weui_btn_area" style="margin:2rem;">
				<a class='weui_btn weui_btn_primary' style="border-radius:1rem;background-color:#fff;color:#fc6d60" ng-click="post({'fee':pagedata.tifee},'jy_newping/xunibi/baofee/')">确认提现</a>
			</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('common/pluginnav',true)"></div>
<script>
scope.tool.get_list('jy_newping/xunibi/fenlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_newping/xunibi/fenlist/');
}
scope.pagedata.upzhuanfee=function(){
	scope.pagedata.post=scope.pagedata.levels[scope.pagedata.post.id];
}
</script>